# -*- coding:utf-8 -*-
# @FileName  :per_reportstructuredlog.py
# @Time      :2020/12/21 10:29
# @Author    :Zhoujirong
# @Desc      :
from common.http_request import Request
from biz.support.urls import ServerUrl

class PerReportStructuredLogRequest:
    @classmethod
    def get_page(cls,curPage,maxSize,search_LIKE_reportId,search_EQ_status,search_EQ_reportType,cookie):
        params = {
            'curPage':curPage,
            'maxSize':maxSize,
            'search_LIKE_reportId':search_LIKE_reportId,
            'search_EQ_status':search_EQ_status,
            'search_EQ_reportType':search_EQ_reportType
        }
        req = Request(ServerUrl.per_reportstructuredlog_getpage_url,params=params,headers=cookie)
        return req.get()

    @classmethod
    def resubmit(cls,ids,cookie):
        params = {
            'ids':ids
        }
        req = Request(ServerUrl.per_reportstructuredlog_resubmit_url,params=params,headers=cookie)
        return req.post()





if __name__ == "__main__":
    pass